home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d894.lha / Resize / README < prev    next >
Text File  |  1993-06-09  |  5KB  |  134 lines

  1.  
  2.  
  3.                                     RESIZE
  4.                                     ~~~~~~
  5.  
  6.  
  7. WHAT IS IT:
  8. ~~~~~~~~~~~
  9.     Utility to change the dimensions of the shell window, font-sensitive.
  10.  
  11.  
  12. DISTRIBUTION:
  13. ~~~~~~~~~~~~~
  14.     This product may be freely distributed under the following restrictions:
  15.  
  16.     1.  The complete contents of the original archive must remain intact.
  17.     2.  The original material may in no way be modified.
  18.     3.  This product may not be distributed for profit.  A nominal copying
  19.         fee is authorized (for cost of materials and shipping and handling
  20.         comparable to that charged by Fred Fish.)
  21.     4.  Commercial distribution of this product without written permission
  22.         from the author is forbidden.
  23.  
  24.  
  25. USE OF THIS PRODUCT:
  26. ~~~~~~~~~~~~~~~~~~~~
  27.     This product may be used under the following restrictions:
  28.  
  29.     1.  Non-commercial use of this product is free of charge.
  30.     2.  Commercial use of this product without written permission from the
  31.         author is forbidden.  This includes shareware.
  32.     3.  Honorable mention of the author and product must be included in the
  33.         client documentation (non-commercial and licensed-commercial.)
  34.     4.  This product may not be used for malicious intent.
  35.  
  36.  
  37. DISCLAIMER:
  38. ~~~~~~~~~~~
  39.     This product is provided without any warranty, express or implied.  The
  40.     user of this product assumes full responsibility for any damage resulting
  41.     from the use and/or misuse of this product.
  42.  
  43.  
  44. CONTENTS:
  45. ~~~~~~~~~
  46.     This archive contains the source and a simple Makefile to build a new
  47.     binary with one of three C-compilers: SAS/C, DICE and GCC
  48.  
  49.     README                  This file
  50.     POSTER.cats             Original POSTER of the example i used
  51.     Makefile                Simple Makefile, edit it to match your configuration
  52.     resize.c                Source
  53.     resize                  Binary compiled with SAS/C
  54.  
  55.  
  56. USAGE:
  57. ~~~~~~
  58.     Resize offers two options: Reportig the current dimensions of the shell
  59.     window and setting new ones.
  60.  
  61.     If resize is invoked with no parameters, it will inform about the inner
  62.     dimension (in characters of the current font), the position relative to the
  63.     upper left corner of the screen and the outer dimension (in pixels) of the
  64.     window.
  65.  
  66.     Example:
  67.         1.PROJ:> resize
  68.         console dimensions: 80x24+0+0(502x280)
  69.     This means, the window is in the upper left corner of the screen, has
  70.     80 columns, 24 rows and is 502 pixles wide and 280 pixels high.
  71.  
  72.     To change these coordinates, the new dimensions must be specified in a
  73.     similar manner. The first two values will be the new width and height of
  74.     the window, the second to will be the distance from the upper left corner.
  75.     If one of the last two values is negative (i.e. `-` instead of `+`), the
  76.     opposite side of the screen is used. If the new size will not fit in the
  77.     current or new position, the window will be moved until it fits (This
  78.     includes covering the whole screen, if the dimensions are big enough).
  79.  
  80.     Example:
  81.         1.PROJ:> resize 132x40+0-0
  82.     This will change the size of the window, so that it contains exactly
  83.     132 columns and 40 lines, and move it to the lower left corner of the
  84.     screen.
  85.  
  86.         1.PROJ:> resize 40x16-0+0
  87.     The window will be 40 by 16 characters and placed in the upper right
  88.     corner of the screen.
  89.  
  90.     If only certain parts of the dimension shall be changed, several parts of
  91.     the argument may be omitted. A single integer changes only the width,
  92.     while an `x` followed directly by an integer (no space) changes the height.
  93.     An integer preceded by a `+` or `-` specifies the new distance from the
  94.     left/right side, an additional integer (also preceded by `+` or `-`)
  95.     will be the distance from the top/bottom. If only the sign is given and
  96.     no integer, 0 is assumed.
  97.  
  98.     Example:
  99.         1.PROJ:> resize 80x24
  100.     Makes the window 80 by 24 letters
  101.  
  102.         1.PROJ:> resize x12
  103.     Leaves the width unchanged, but makes the window 12 lines high.
  104.  
  105.         1.PROJ:> resize 60+-
  106.     Height unchanged, width set to 60 characters, move window to the lower left
  107.     corner.
  108.  
  109.         1.PROJ:> resize ++0
  110.     Move the window to the upper left corner. (Note: under AmigaDos, `+` at the
  111.     end of the line is some sort of line separator. You must specify "+0" or
  112.     "+;" if you want the window to be on the left or upper side.
  113.  
  114.     Resize is not very error tolerant. For example "resize foobar" will do
  115.     nothing (no error, no change). The options `+help`, `-?`, or more than
  116.     one argument (resize foo bar) will give some online help.
  117.  
  118.  
  119. Credits:
  120. ~~~~~~~~
  121.     Hakan Tandogan for the nice README (where did he get it from?)
  122.     Frowalt Egerer for the free Coke (light)
  123.  
  124.  
  125. CONTACTING THE AUTHOR:
  126. ~~~~~~~~~~~~~~~~~~~~~~
  127. I can be reached by the following means:
  128.  
  129.     Internet:   bdraschk@cip.informatik.uni-erlangen.de
  130.     UUCP:       Not yet (*§$%&@-Modem)
  131.     Snail:      Bernd Raschke
  132.                 Hartmannstrasse 129 / Zi. 426
  133.                 D-8520 (91058)-Erlangen
  134.